﻿<%@ Assembly Name="Microsoft.SharePoint.ApplicationPages, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Assembly Name="$SharePoint.Project.AssemblyFullName$" %>
<%@ Page Language="C#" AutoEventWireup="true" Inherits="$SharePoint.Type.3c2fc308-f3fb-45c6-856e-cc15051d96e3.FullName$" MasterPageFile="~/_layouts/application.master" %>

<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" src="~/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" src="~/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" src="~/_controltemplates/ButtonSection.ascx" %>

<%@ Register TagPrefix="wssawc" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Import Namespace="Microsoft.SharePoint.ApplicationPages" %>
<%@ Import Namespace="Microsoft.SharePoint.Administration" %>
<asp:Content ID="Content1" ContentPlaceHolderID="PlaceHolderPageTitle" runat="server">
    <SharePoint:EncodedLiteral runat="server" text="Google Maps Settings" EncodeMethod='HtmlEncode'/>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="PlaceHolderAdditionalPageHead" runat="server">
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="PlaceHolderPageTitleInTitleArea" runat="server">
    <SharePoint:EncodedLiteral runat="server" text="Google Maps Settings" EncodeMethod='HtmlEncode'/>
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="PlaceHolderPageDescription" runat="server">
    <SharePoint:EncodedLiteral runat="server" text="Configure how features on your site will consume web services provided by Google.  Specifically, your Google Maps API Key.  This key will be used in any Web Parts which make calls to the the Google Maps web service." EncodeMethod='HtmlEncode'/>
</asp:Content>
<%--<asp:Content ID="Content5" ContentPlaceHolderID="PlaceHolderLeftNavBar" runat="server">
</asp:Content>--%>
<asp:Content ID="Content6" ContentPlaceHolderID="PlaceHolderMain" runat="server">
    <wssuc:InputFormSection Title="Site Key" 
            Description="This key is a value specific to your SharePoint site's URL.  This is a string of characters created online using the Google Maps API key. You can create a key for your own SharePoint site, at not cost to you, from the Google Maps API Signup page."
            runat="server">
        <Template_InputFormControls>
            <wssuc:InputFormControl 
                LabelText="Enter your key:" 
                runat="server">
                <Template_Control>
                    <table width="500px">
                        <tr>
                            <td>
                            <asp:TextBox id="TextBoxApiKey"
								Width="100%"
                                runat="server" 
                                title="The value entered here will be used in any features which consume data from Google Maps web services." />
                            </td>
                        </tr>
                        <tr>
                            <td valign=middle class=ms-authoringcontrols>
                                <label for="TextBoxApiKey">
                                    The value entered here will be used in any features which consume data from <a href="http://code.google.com/apis/maps/signup.html" target="_Google">Google Maps API</a> web services.
                                </label>
                            </td>
                        </tr>
                    </table>
                </Template_Control>
            </wssuc:InputFormControl>
       </Template_InputFormControls>
    </wssuc:InputFormSection>
    <!--Save and Cancel-->
    <wssuc:ButtonSection runat="server" ShowStandardCancelButton="false">
        <Template_Buttons>
            <asp:Button runat="server" class="ms-ButtonHeightWidth" OnClick="BtnUpdateMapSettingsClick" Text="<%$Resources:wss,multipages_okbutton_text%>" id="BtnUpdateAuditSettings" accesskey="<%$Resources:wss,okbutton_accesskey%>"/>
            <asp:Button runat="server" class="ms-ButtonHeightWidth" OnClick="CancelButtonClick" Text="<%$Resources:wss,multipages_cancelbutton_text%>" id="BtnCancelAuditSettings" accesskey="<%$Resources:wss,cancelbutton_accesskey%>"/>
        </Template_Buttons>
    </wssuc:ButtonSection>
</table>
</asp:Content>